<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SARibbon: SARibbonActionsManager::PrivateData类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="SA-logo.png"/></td>
  <td id="projectalign">
   <div id="projectname">SARibbon<span id="projectnumber">&#160;2.4.2</span>
   </div>
   <div id="projectbrief">SARibbon wiki</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('class_s_a_ribbon_actions_manager_1_1_private_data.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="class_s_a_ribbon_actions_manager_1_1_private_data-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">SARibbonActionsManager::PrivateData类 参考</div></div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a7c4b497acf2c72b12cc537c4acc30220" id="r_a7c4b497acf2c72b12cc537c4acc30220"><td class="memItemLeft" align="right" valign="top"><a id="a7c4b497acf2c72b12cc537c4acc30220" name="a7c4b497acf2c72b12cc537c4acc30220"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>PrivateData</b> (<a class="el" href="class_s_a_ribbon_actions_manager.html">SARibbonActionsManager</a> *p)</td></tr>
<tr class="separator:a7c4b497acf2c72b12cc537c4acc30220"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab574831d78acf4ab3eb4512166d66bf7" id="r_ab574831d78acf4ab3eb4512166d66bf7"><td class="memItemLeft" align="right" valign="top"><a id="ab574831d78acf4ab3eb4512166d66bf7" name="ab574831d78acf4ab3eb4512166d66bf7"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>clear</b> ()</td></tr>
<tr class="separator:ab574831d78acf4ab3eb4512166d66bf7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:af98170b9d28865984faf44806fd5dd26" id="r_af98170b9d28865984faf44806fd5dd26"><td class="memItemLeft" align="right" valign="top"><a id="af98170b9d28865984faf44806fd5dd26" name="af98170b9d28865984faf44806fd5dd26"></a>
QMap&lt; int, QList&lt; QAction * &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mTagToActions</b></td></tr>
<tr class="memdesc:af98170b9d28865984faf44806fd5dd26"><td class="mdescLeft">&#160;</td><td class="mdescRight">tag : QList&lt;QAction*&gt; <br /></td></tr>
<tr class="separator:af98170b9d28865984faf44806fd5dd26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa24a8f7ec4aca861c5a222e9d7e4233" id="r_afa24a8f7ec4aca861c5a222e9d7e4233"><td class="memItemLeft" align="right" valign="top"><a id="afa24a8f7ec4aca861c5a222e9d7e4233" name="afa24a8f7ec4aca861c5a222e9d7e4233"></a>
QMap&lt; int, QString &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mTagToName</b></td></tr>
<tr class="memdesc:afa24a8f7ec4aca861c5a222e9d7e4233"><td class="mdescLeft">&#160;</td><td class="mdescRight">tag对应的名字 <br /></td></tr>
<tr class="separator:afa24a8f7ec4aca861c5a222e9d7e4233"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ccc62d6765e6b77d1e9e97f26127a96" id="r_a7ccc62d6765e6b77d1e9e97f26127a96"><td class="memItemLeft" align="right" valign="top"><a id="a7ccc62d6765e6b77d1e9e97f26127a96" name="a7ccc62d6765e6b77d1e9e97f26127a96"></a>
QHash&lt; QString, QAction * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mKeyToAction</b></td></tr>
<tr class="memdesc:a7ccc62d6765e6b77d1e9e97f26127a96"><td class="mdescLeft">&#160;</td><td class="mdescRight">key对应action <br /></td></tr>
<tr class="separator:a7ccc62d6765e6b77d1e9e97f26127a96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78263359c105956ff6903e5e63b5fbf1" id="r_a78263359c105956ff6903e5e63b5fbf1"><td class="memItemLeft" align="right" valign="top"><a id="a78263359c105956ff6903e5e63b5fbf1" name="a78263359c105956ff6903e5e63b5fbf1"></a>
QMap&lt; QAction *, QString &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mActionToKey</b></td></tr>
<tr class="memdesc:a78263359c105956ff6903e5e63b5fbf1"><td class="mdescLeft">&#160;</td><td class="mdescRight">action对应key <br /></td></tr>
<tr class="separator:a78263359c105956ff6903e5e63b5fbf1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e1c2a1a84f5fd19fb5ff22e2afad64d" id="r_a4e1c2a1a84f5fd19fb5ff22e2afad64d"><td class="memItemLeft" align="right" valign="top"><a id="a4e1c2a1a84f5fd19fb5ff22e2afad64d" name="a4e1c2a1a84f5fd19fb5ff22e2afad64d"></a>
QMap&lt; int, <a class="el" href="class_s_a_ribbon_category.html">SARibbonCategory</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>mTagToCategory</b></td></tr>
<tr class="memdesc:a4e1c2a1a84f5fd19fb5ff22e2afad64d"><td class="mdescLeft">&#160;</td><td class="mdescRight">仅仅在autoRegisteActions函数会有用 <br /></td></tr>
<tr class="separator:a4e1c2a1a84f5fd19fb5ff22e2afad64d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90ad9eb023fbe659f3ea8834f83f84c3" id="r_a90ad9eb023fbe659f3ea8834f83f84c3"><td class="memItemLeft" align="right" valign="top"><a id="a90ad9eb023fbe659f3ea8834f83f84c3" name="a90ad9eb023fbe659f3ea8834f83f84c3"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>mSale</b></td></tr>
<tr class="memdesc:a90ad9eb023fbe659f3ea8834f83f84c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">盐用于生成固定的id，在用户不主动设置key时，id基于msale生成，只要SARibbonActionsManager的调用registeAction顺序不变，生成的id都不变，因为它是基于自增实现的 <br /></td></tr>
<tr class="separator:a90ad9eb023fbe659f3ea8834f83f84c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<hr/>该类的文档由以下文件生成:<ul>
<li>C:/src/Qt/SARibbon/src/SARibbonBar/<b>SARibbonActionsManager.cpp</b></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_s_a_ribbon_actions_manager.html">SARibbonActionsManager</a></li><li class="navelem"><a class="el" href="class_s_a_ribbon_actions_manager_1_1_private_data.html">PrivateData</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0 </li>
  </ul>
</div>
</body>
</html>
